cut (someone's) losses

Translations
сократить убытки
He decided to cut his losses and sell the stock.
Он решил сократить убытки и продать акции.
Definitions
To stop investing time, money, or effort in a failing situation in order to minimize further losses.